{% extends "wrapper.html" %}
{% block body %}
  	<div id="container">
  		{% if user %}
		<div id="comment">
			<div class="name_wrapper"><a href="/change/name">Изменить</a>Имя: <span id="nickname">{{user.get_user_name|striptags|escape}}</span> </div>
			<div class="error"></div>
			<form action='/' method = "post">
				<input id="new_comment" name="text" type = "text" size = "36" onFocus = "if (this.value=='Ваш комментарий') this.value = ''" value="Ваш комментарий"/>
			</form>
		</div>
		{% else %}
		<div id="login">
			<a href="/login?parent={{parent}}">войти, используя OpenID</a>
		</div>
		{% endif %}
		<div id="list">
			<div id="loader"></div>
			<ul>
			</ul>
		</div>
	<script type="text/javascript" src="/static/js/timer.js?1"></script>
	<script type="text/javascript" src="/static/js/chat.js?11"></script>
{% endblock %}